<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>ready加载事件</title>
</head>

<body>
    <!--
         相当于dom中的load事件
    语法：$(document).ready(function(){

    });
    简写：
    $(function(){
        
    });
    -->
</body>

</html>